Duplicator\Libs\Snap\SnapUtil D

Total Complexity 152
Dependencies 2
Dependents 30
Total lines 941
Lines of code 451
Logical lines of code 287
Comment lines 379
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
arrayGroupBy()
A
48 15 30
convertToBytes()
A
49 12 32
rand()
A
44 10 41
sanitizeStrict()
A
54 8 19
isIniValChangeable()
A
55 8 19
filterInputRequestArray()
S
54 7 21
phpIniGet()
S
54 7 20
getInputFromType()
S
56 7 18
binarySearch()
S
56 5 19
generatePassword()
S
59 4 14
arrayMapRecursive()
S
61 4 12
inArrayExtended()
S
63 4 11
classExists()
S
63 4 10
getValueByType()
S
62 4 10
filterInputDefaultSanitizeString()
S
59 3 15
duplicatorSetTimeLimit()
S
65 4 9
getCallingFunctionName()
S
57 3 14
getArrayValue()
S
63 3 11
obCleanAll()
S
64 3 10
arrayKeyFirst()
S
64 3 10
filterInputRequest()
S
68 3 6
sanitizeBool()
S
65 3 9
sanitizeInt()
S
64 3 9
isPHP7Plus()
S
68 2 7
sanitizeIntInput()
S
70 2 6
sanitizeBoolInput()
S
70 2 6
sanitizeInput()
S
70 2 6
phpinfo()
S
71 2 6
getWorkPercent()
S
65 2 8
versionCompare()
S
64 2 9
sanitizeStrictInput()
S
69 2 6
getVersion()
S
68 2 7
sanitizeNSCharsNewlineTrim()
S
79 1 3
sanitize()
S
79 1 3
getArchitectureString()
S
78 1 3
sanitizeNSChars()
S
78 1 3
getIntBetween()
S
77 1 3
sanitizeNSCharsNewlineTabs()
S
78 1 3
sanitizeNSCharsNewline()
S
78 1 3